//
//  YXViewControllerOne.m
//  YXTheme_Example
//
//  Created by GMS on 2020/8/19.
//  Copyright © 2020 Arthur. All rights reserved.
//

#import "YXViewControllerOne.h"
#import "YXButton.h"

@interface YXViewControllerOne ()

@end

@implementation YXViewControllerOne

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (IBAction)buttonClick:(YXButton *)sender {
    
    
    switch (sender.tag) {
        case 100:
            [YXThemeManagerShare chanageThemeWithType:YXThemeTypeWhite];
            break;
            
        case 101:
            [YXThemeManagerShare chanageThemeWithType:YXThemeTypeBlack];
        break;
            
        default:
            break;
    }
 
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
